import numpy as np
import pandas as pd

data = [[-1, 2], [-0.5, 6], [0, 10], [1, 18]]
data = pd.DataFrame(data)


def normalization():
    """
    归一化 normalization || Min-Max Scaling
    :return:
    """
    return (data - np.min(data, axis=0)) / (np.max(data, axis=0) - np.min(data, axis=0))
